package com.jsh.service.basic;

import com.jsh.base.BaseService;
import com.jsh.dao.basic.AuthorizationIDAO;
import com.jsh.dao.basic.UserBusinessIDAO;
import com.jsh.model.po.Authorization;

public class AuthorizationService extends BaseService<Authorization> implements AuthorizationIService
{
	@SuppressWarnings("unused")
	private AuthorizationIDAO authorizationDao;
	@SuppressWarnings("unused")
	private UserBusinessIDAO userBusinessDao;


	public void setAuthorizationDao(AuthorizationIDAO authorizationDao) 
	{
		this.authorizationDao = authorizationDao;
	}
	
	public void setUserBusinessDao(UserBusinessIDAO userBusinessDao) {
		this.userBusinessDao = userBusinessDao;
	}
	
	public Authorization findToken(){
	
		return authorizationDao.findToken();
	}

	@Override
	protected Class<Authorization> getEntityClass()
	{
		return Authorization.class;
	}
    
}
